package com.pimee.common.exception;

/**
 * DataParseException
 * @author Bruce Shaw
 * 2020年2月2日 下午10:17:35
 *
 */
@SuppressWarnings("serial")
public class DataParseException extends RuntimeException {

	private int code;
	private String msg;
	
	public DataParseException(String msg) {
		this.msg = msg;
	}

	public DataParseException(int code, String msg) {
		super(msg);
		this.code = code;
		this.msg = msg;
	}


	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}